package com.aaa.emp.dao;

import com.aaa.common.entity.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author ：杨
 * @date ：Created in 2020/7/22 14:34
 * @description：
 * @modified By：
 * @version:
 */
@Repository
@Mapper
public interface EmpDao {
    @Select("select empno,ename,job,sal,deptno from emp")
    List<Emp> selectEmp();
}
